package com.yanqu.road.entity.task.args.union;

/**
 * 商会condition更新参数（商会任务、成就）
 */
public class UnionActivityTaskArgs {

    public static final int TYPE_ADD_VALUE = 1;               // 增加值
    public static final int TYPE_QUIT_UNION = 2;              // 退出商会
    public static final int TYPE_JOIN_UNION = 3;              // 加入商会
    public static final int TYPE_REFRESH_VALUE = 4;           // 同步最新值

    // 特殊操作
    public static final int TYPE_CHECK_MEMBER = 101;          // 检查成员是否有退出

    private long addValue;
    private int type;
    private String unionUid;
    private String expandParam = "";

    public UnionActivityTaskArgs(int type, long addValue, String unionUid) {
        this.addValue = addValue;
        this.type = type;
        this.unionUid = unionUid;
    }

    public UnionActivityTaskArgs(int type, long addValue, String unionUid, String expandParam) {
        this.addValue = addValue;
        this.type = type;
        this.unionUid = unionUid;
        this.expandParam = expandParam;
    }

    public long getAddValue() {
        return addValue;
    }

    public void setAddValue(long addValue) {
        this.addValue = addValue;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public String getExpandParam() {
        return expandParam;
    }

    public void setExpandParam(String expandParam) {
        this.expandParam = expandParam;
    }

}
